home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!panix!usenet
- From: gg@panix.com (Louis Bianchi)
- Newsgroups: comp.lang.c++
- Subject: Re: How to clear screen?
- Date: Sun, 25 Feb 1996 15:59:18 GMT
- Organization: PANIX Public Access Internet and Unix, NYC
- Message-ID: <4gq0u3$s4j@news1.panix.com>
- References: <4gmalh$csq@cloner3.netcom.com>
- NNTP-Posting-Host: gg.dialup.access.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- luisjm@ix.netcom.com(Luis Martinez ) wrote:
-
- >Is there a function to clear a text screen?
-
-
- Most compilers will have a function to do it. It is not standard from
- compiler to compiler.
-
- I know of two different ones. In the Borland C++ package (I have used
- version 3.1) to clear the screen you use the clrscr() function. This
- is defined in the conio.h header file.
-
- In the Microsoft Visual C++ package you have to use _clearscreen().
- This is defined in the graph.h header file. Also you must include a
- target area parameter in order to have it function. The borland
- function will clear the screen with no parameters provided.
-
- If you do not have either of the mentioned packages, I could only
- recomend that you check you manuals or help files.
- Be seeing you,
- gg
-
-
- ***************************************************
- * Louis Bianchi gg@panix.com *
- * http://www.panix.com/~gg/ *
- ***************************************************
-
-